import { ref, computed } from 'vue'
import { defineStore } from 'pinia'

export const useuserStore = defineStore('user', () => {
   const userdata = ref({
    Uname:"",
    Pwd:"",
    islogin:false
   })
    return {userdata}
   

},{
    persist:{
        storage:sessionStorage,
    }
})
